package com.zhen.aikan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhen.aikan.entity.Favourite;
import com.zhen.aikan.entity.VodDetail;

import java.util.List;

/**
 * @author LiJiaZhen
 * @date 2023/9/25 10:32
 */
public interface IFavouriteService extends IService<Favourite> {
    boolean addFavourite(String userId, String vodId);

    boolean deleteFavourite(String userId, String vodId);

    List<VodDetail> getFavouriteByUserId(String userId);

    boolean isFavourite(String userId, String vodId);
}
